package com.test.enums;
/**
 * 枚举异常类,描述项目中可能出现的异常
 * @author dinghao
 *
 */
public enum ResultEnum {

	UNKONW_ERROR("500","未知错误"),
	SUCCESS("200","成功"),
	CARNUMBERTOMIN("101","你个假车牌!"),
	CARNUMBERTOMAX("102","你的车牌这么长,怕是外星车牌哟!")
	;
	
	private String code;
	
	private String message;

	private ResultEnum(String code, String message) {
		this.code = code;
		this.message = message;
	}

	public String getCode() {
		return code;
	}


	public String getMessage() {
		return message;
	}


	
}
